package net.oschina.app.protocol;

import net.oschina.app.base.BaseProtocol;
import net.oschina.app.bean.MeBlogBean;

import retrofit2.Call;

/**
 * Created by wei03 on 2017/1/14.
 */

public class MeBlogProtocol extends BaseProtocol<MeBlogBean> {
    private String  authoruid = "993896";
    private String uid = "993896";
    private String mPageIndex = "0";
    private String authorname = "";
    private String pageSize = "20";

    @Override
    protected Call<MeBlogBean> getCall(String pageIndex) {
        return mApiService.getMeBlogBean(authoruid,uid,mPageIndex,authorname,pageSize);
    }

    @Override
    protected MeBlogBean parserDatas(String data) {
        return null;
    }

    @Override
    protected String getIndex() {
        return "0";
    }


    @Override
    protected String getType() {
        return "userblog_list";
    }
}
